import Vue from 'vue'
import {
  NavBar,
  Tabbar, TabbarItem,
  Swipe, SwipeItem,
  Grid, GridItem,
  Toast
} from 'vant'

Vue
  .use(NavBar)
  .use(Tabbar).use(TabbarItem)
  .use(Swipe).use(SwipeItem)
  .use(Grid).use(GridItem)

Vue.prototype.$Toast = Toast

// 全局,全局的话plugin里的那个加的插件就要删除,懂?
// import Vue from 'vue'
// import Vant from 'vant'
// import 'vant/lib/index.css'

// Vue.use(Vant)
